package com.demo.base.exception;

import com.demo.base.bean.CommonStatus;

/**
 * 访问资源不存在异常
 * Created by ethan on 2017/1/14.
 */
public class NotFoundException extends FrameworkException {

    public NotFoundException() {
        super(CommonStatus.NOT_FOUND);
    }

    public NotFoundException(String message) {
        super(CommonStatus.NOT_FOUND, message);
    }

    public NotFoundException(Throwable cause) {
        super(CommonStatus.NOT_FOUND, cause);
    }

    public NotFoundException(String message, Throwable cause) {
        super(CommonStatus.NOT_FOUND, message, cause);
    }
}
